Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(rpc-types-trace/parity): add creationMethod for create action #1621

Merged
merged 1 commit into from
Nov 6, 2024

Conversation

jsvisa
Copy link
Contributor

@jsvisa jsvisa commented Nov 5, 2024

Motivation

align with geth's flatcall trace, ref ethereum/go-ethereum#30539

Solution

PR Checklist

  • Added Tests
  • Added Documentation
  • Breaking changes

Comment on lines +307 to +309
/// None
#[default]
None,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this actually a valid variant?

can't see any "none" in the referenced pr

should this be an Option instead and serialize null?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I copied this field from CallType, as it also has the None variant

pub enum CallType {
    /// None
    #[default]
    None,
    /// Call
    Call,

@mattsse mattsse merged commit 0a93fe7 into alloy-rs:main Nov 6, 2024
26 checks passed
@jsvisa jsvisa deleted the parity-creation-method branch November 6, 2024 08:15
mattsse pushed a commit to paradigmxyz/revm-inspectors that referenced this pull request Nov 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants